import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

import router from './router.js'

import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)


import './css/index.css'
import './css/body.css'
import 'bootstrap/dist/css/bootstrap.css'



import app from './component/App.vue'

import VueResource from 'vue-resource'
Vue.use(VueResource)
Vue.http.options.root='http://www.liulongbin.top:3005'
Vue.http.options.emulateJSON="true"
// import moment from 'moment'

// Vue.filter("dateFormat1", function (pipeParm,formatParm="YYYY-MM-DD HH:mm:ss") {
//   return moment(pipeParm).format(formatParm)
// })

import commentVue from "./component/comment/Comment.vue";
Vue.component("commentVue",commentVue)



import './lib/mui/css/mui.min.css'
import './css/icons-extra.css'

new Vue({
  el: '#app',
  data:  {
    message: "hello vue"  
  },
  created() {
    this.show()
  },
  methods: {
    show() {
      console.log(this.$router);
    }
  },
  router,
  render: (h) => h(app)
  
})